package com.example.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Organization {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String orgUniCode;

    private String orgChiName;

    private String induSmaPar;

    private String orgDele;

    private BigDecimal regCap;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date orgEstDate;

}
